import Vue from 'vue'
import Router from 'vue-router'
import home from '../components/home.vue'
import detial from '../components/detial.vue'
import shopping from '../components/shopping.vue'
import classify from '../components/classify.vue'
import users from '../components/users.vue'
import denglu from '../components/denglu.vue'
import classifySon from '../components/classifySon.vue'
import shezhi from '../components/shezhi.vue'
import xiangqing from '../components/xiangqing.vue'
Vue.use(Router)

export default new Router({
  routes: [
    { path: '/', name: 'home', component: home },
    { path: '/detial', name: 'detial', component: detial },
    { path: '/shopping', name: 'shopping', component: shopping },
    { path: '/classify', name: 'classify', component: classify },
    { path: '/users', name: 'users', component: users },
    { path: '/denglu', name: 'denglu', component: denglu },
    { path: '/classifySon', name: 'classifySon', component: classifySon },
    { path: '/shezhi', name: 'shezhi', component: shezhi },
    { path: '/xiangqing', name: 'xiangqing', component: xiangqing }
  ]
})
